package Corejava.com;

public class Laptop {

	boolean isOld;
	double screenSize;
	int price;
	String color;
	String brand;
	
	boolean isOld(int buyingTime){
		if(buyingTime > 2013){
	     return true;
		}else{
			return false;
		}
	}
	
	double screenSize(double size){
		return size;
	}
	
	int price(int howMuch){
		if(howMuch > 1500){
			System.out.println("too expensive");
		}else if(howMuch <1500 && howMuch >450){
		 System.out.println("acceptable price");	
		}else{
			return howMuch;
		}
		return 1;
	}
	
	String whatColor(String color){
		return color;
	}
	
	String whatBrand(String brand){
		return brand;
	}
}
